package com.dog.modules.upms.dto.request;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import javax.validation.constraints.NotNull;

/**
 * @author liuxk
 * @date 2022/12/4 16:39
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class UserReqDto {

    @NotNull(message = "username.not.empty")
    private String username;

    private Integer age;
}
